import { post } from '@/utils/request';
import { ResponseBodyType } from '@/api/typing';

interface CenterPointState {
  latitude: number;
  longitude: number;
}
export async function queryCenterPoint(params = {}) {
  return post<ResponseBodyType<CenterPointState>>('/map/queryCenterPoint', params);
}
